package com.ruihu.admin.module.business.stat.domain.dto;

import com.ruihu.admin.common.validator.en.CheckEnum;
import com.ruihu.admin.module.business.stat.constant.DateSelectTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class StatQueryDTO {

    @ApiModelProperty("时间类型 1:近7天 2:近30天 3:近一年")
    @CheckEnum(enumClazz = DateSelectTypeEnum.class, message = "日期选择类型错误")
    private String dateType;

    @ApiModelProperty("缺陷类型ID列表")
    private List<Long> defectTypeIdList;
}
